package com.ewanghuiju.app.base.contract.home;

import com.ewanghuiju.app.base.BasePresenter;
import com.ewanghuiju.app.base.BaseView;
import com.ewanghuiju.app.model.bean.local.HomeLimitedSeckillLocalTop;
import com.ewanghuiju.app.model.bean.response.ArticleArticleResponBean;
import com.ewanghuiju.app.model.bean.response.LbImgBean;
import com.ewanghuiju.app.model.bean.response.MailShopResponBean;
import com.ewanghuiju.app.model.bean.response.PintuanClassifyResponBean;
import com.ewanghuiju.app.model.bean.response.PintuanShopListResponBean;
import com.ewanghuiju.app.model.http.response.BaseResponse;

import java.util.List;

/**
 * @author sj  qq:751943509
 * @class describe
 * @time 2020/2/16
 */
public interface ChoicesContract {

    interface View extends BaseView {

        void showContent(String list);

        void showMoreContent(String list);

        void showLbImg(int type,List<LbImgBean> list);

        void showViewFlipper(List<ArticleArticleResponBean> list);

        void showLimitedSeckillList(HomeLimitedSeckillLocalTop bean);

        void showTbyoulike(List<MailShopResponBean> list);

        void showPintuanList(List<PintuanShopListResponBean> list); //拼团商品列表

        void showPintuanListFail();

        void showPticatesAll(List<PintuanClassifyResponBean> list);//所有分类

        void showPtiLucydrawCheck(BaseResponse baseResponse);

        void showPtiLucydrawCheckError(int code,String Message);

        void showPtiLuckydraw(BaseResponse baseResponse);

        void showPtiLuckyDrawoff(BaseResponse baseResponse);
    }

    interface Presenter extends BasePresenter<View> {

        void getChoicesData(int type);

        void getViewFlipper();

        void getLimitedSeckill();//获取限时秒杀

        void getTbyoulike();//为您推荐

        void getMoreHomeData();

        void bindJpushAlias();

        void getPintuanList(int page);//为您推荐 --拼团

        void getPticatesAll(); //获取所有一级分类 最多10个

        void ptiLucydrawCheck();//检测红包

        void ptiLuckydraw();//领红包

        void ptiLuckyDrawoff();//红包开关
    }
}
